package com.gary.mapper;

import com.gary.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author pengrui3
 * @date 2020/11/26-22:52
 */
@Mapper
public interface IEmployeeMapper {

    /**
     *  查询所有
     * @return
     */
    @Select("select * from employee")
    List<Employee>  queryAll();
}
